package com.css.dzj.dzjap.modules.lawenforcesuper.service.impl;

import com.css.dzj.dzjap.modules.lawenforcesuper.entity.ApExtractExpertEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.mapper.ApExtractExpertMapper;
import com.css.dzj.dzjap.modules.lawenforcesuper.service.ApExtractExpertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *  抽取专家任务service
 * @author liyunyue
 */
@Service
public class ApExtractExpertServiceImpl implements ApExtractExpertService {


    @Autowired
    private ApExtractExpertMapper apExtractExpertMapper;

    /**
     * 通过id查询抽取专家id
     * @param taskId
     * @return
     */
    @Override
    public ApExtractExpertEntity queryById(String taskId) {
        return apExtractExpertMapper.findById(taskId).get();
    }
}
